From f60cd0f902a383b094e376b7a8f855c26b07d400 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Sat, 14 Nov 2009 10:25:19 +0000 Subject: [PATCH] xend: Remove extraneous logging from pyxc_physinfo(). Also fixes 32-bit build. Signed-off-by: Keir Fraser --- tools/python/xen/lowlevel/xc/xc.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/tools/python/xen/lowlevel/xc/xc.c b/tools/python/xen/lowlevel/xc/xc.c index 4c90579c68..7eaf63b94e 100644 --- a/tools/python/xen/lowlevel/xc/xc.c +++ b/tools/python/xen/lowlevel/xc/xc.c @@ -1129,16 +1129,13 @@ static PyObject *pyxc_physinfo(XcObject *self) Py_DECREF(pyint); } - xc_dom_loginit(); /* DMA memory. */ node_to_dma32_mem_obj = PyList_New(0); for ( i = 0; i < info.nr_nodes; i++ ) { PyObject *pyint; - xc_availheap(self->xc_handle, 0, 32, i, &free_heap); - xc_dom_printf("Node:%d: DMA32:%ld\n", i, free_heap); pyint = PyInt_FromLong(free_heap / 1024); PyList_Append(node_to_dma32_mem_obj, pyint); Py_DECREF(pyint); -- 2.30.2